package com.tianbo.service.imp;

import com.tianbo.mapper.PermissionMapper;
import com.tianbo.model.Permission;
import com.tianbo.model.PermissionExample;
import com.tianbo.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissionServiceImpl implements PermissionService{

    @Autowired
    private PermissionMapper permissionMapper;

    public List<Permission> selectByExample(PermissionExample example){
        return  permissionMapper.selectByExample(example);
    }
}
